<?php
/* @var $this KeHoachDauThauController */
/* @var $model FormKeHoachDauThau */

$this->breadcrumbs=array(
	'Form Ke Hoach Dau Thaus'=>array('index'),
	'Manage',
);

$this->menu=array(
	array('label'=>'List FormKeHoachDauThau', 'url'=>array('index')),
	array('label'=>'Create FormKeHoachDauThau', 'url'=>array('create')),
);

Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$('#form-ke-hoach-dau-thau-grid').yiiGridView('update', {
		data: $(this).serialize()
	});
	return false;
});
");
?>

<h1>Quản lý Form kế hoạch đấu thầu</h1>


<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button')); ?>
<div class="search-form" style="display:none">
<?php $this->renderPartial('_search',array(
	'model'=>$model,
)); ?>
</div><!-- search-form -->

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'form-ke-hoach-dau-thau-grid',
	'dataProvider'=>$model->search(),
	'filter'=>$model,
	'columns'=>array(
		'id',
		'ten_ke_hoach',
		'quyet_dinh_phe_duyet',
		'chu_dau_tu',
		'tong_muc_dau_tu',
		'danh_sach_du_an',
		/*
		'ngay_xuat_ban',
		'so_bao_dang',
		'tinh_trang_thong_tin',
		'ma_thong_tin',
		'thong_tin_chuyen_tien',
		'id_nguoi_tao',
		'ngay_tao',
		'id_nguoi_chinh_sua',
		'ngay_chinh_sua',
		'status',
		'da_thanh_toan',
		'tong_tien',
		'id_nguoi_duyet',
		'ngay_duyet',
		*/
		array(
			'class'=>'CButtonColumn',
		),
	),
)); ?>
